package ttp.to;

public class ChemicalTO {
	private int chemicalNo;
	private String enterPrise;
	private String treeType;
	private String treeGrade;
	private int pulpWeight;
	private String productDate;
	private int chemicalCheck;
	private int errorRate;
	private int result;
	public ChemicalTO(int chemicalNo, String enterPrise, String treeType,
			String treeGrade, int pulpWeight, String productDate,
			int chemicalCheck, int errorRate, int result) {
		super();
		this.chemicalNo = chemicalNo;
		this.enterPrise = enterPrise;
		this.treeType = treeType;
		this.treeGrade = treeGrade;
		this.pulpWeight = pulpWeight;
		this.productDate = productDate;
		this.chemicalCheck = chemicalCheck;
		this.errorRate = errorRate;
		this.result = result;
	}
	public ChemicalTO() {
		super();
	}
	public int getChemicalNo() {
		return chemicalNo;
	}
	public void setChemicalNo(int chemicalNo) {
		this.chemicalNo = chemicalNo;
	}
	public String getEnterPrise() {
		return enterPrise;
	}
	public void setEnterPrise(String enterPrise) {
		this.enterPrise = enterPrise;
	}
	public String getTreeType() {
		return treeType;
	}
	public void setTreeType(String treeType) {
		this.treeType = treeType;
	}
	public String getTreeGrade() {
		return treeGrade;
	}
	public void setTreeGrade(String treeGrade) {
		this.treeGrade = treeGrade;
	}
	public int getPulpWeight() {
		return pulpWeight;
	}
	public void setPulpWeight(int pulpWeight) {
		this.pulpWeight = pulpWeight;
	}
	public String getProductDate() {
		return productDate;
	}
	public void setProductDate(String productDate) {
		this.productDate = productDate;
	}
	public int getChemicalCheck() {
		return chemicalCheck;
	}
	public void setChemicalCheck(int chemicalCheck) {
		this.chemicalCheck = chemicalCheck;
	}
	public int getErrorRate() {
		return errorRate;
	}
	public void setErrorRate(int errorRate) {
		this.errorRate = errorRate;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	@Override
	public String toString() {
		return "ChemicalTO [chemicalNo=" + chemicalNo + ", enterPrise="
				+ enterPrise + ", treeType=" + treeType + ", treeGrade="
				+ treeGrade + ", pulpWeight=" + pulpWeight + ", productDate="
				+ productDate + ", chemicalCheck=" + chemicalCheck
				+ ", errorRate=" + errorRate + ", result=" + result + "]";
	}
	
}
